cmake_minimum_required(VERSION 3.12.4)

project(database_feed)

enable_testing()

file(GLOB DATABASE_FEED_SRC
    "*.cpp"
    )

# Add fpic flag
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

include_directories("../include")

add_library(database_feed STATIC
    ${DATABASE_FEED_SRC}
    )

target_link_libraries(database_feed
        urlrequest
        pthread)
